<h1>Listing administrators</h1>

<table>
  <tr>
    <th>Project</th>
    <th>Person</th>
  </tr>

<% for administrator in @administrators %>
  <tr>
    <td><%=h administrator.project_id %></td>
    <td><%=h administrator.person_id %></td>
    <td><%= link_to 'Show', administrator %></td>
    <td><%= link_to 'Edit', edit_administrator_path(project_administrator) %></td>
    <td><%= link_to 'Destroy', administrator, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New project_administrator', new_administrator_path %>
